package com.todo.content.iface.backend.request;

import com.todo.common.common.entity.CurrentStaff;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @author zhangwenxiang
 * @date 2024/3/14 20:40
 * @description
 */
@Data
@Schema(title = "新增平台内容入参",description = "新增平台内容入参")
public class InsertPlateFormContentReq {

private CurrentStaff _staff;
    /**
     * 主键
     */
    @Schema(title = "主键id",description = "主键id")
    private Long id;
    /**
     * 内容标题
     */
    @Schema(title = "内容标题",description = "内容标题")
    private String title;
    /**
     * 内容信息
     */
    @Schema(title = "内容信息",description = "内容信息")
    private String content;
    /**
     * 主图
     */
    @Schema(title = "主图",description = "主图")
    private String mainImg;
    /**
     * 分类code
     */
    @Schema(title = "分类code",description = "分类code")
    private Integer classifyCode;
    /**
     * 当前状态
     * ContentStatusEnum
     */
    @Schema(title = "当前状态",description = "当前状态")
    private Integer status;
    /**
     * 扩展信息-图片列表
     */
    @Schema(title = "图片列表",description = "扩展信息-图片列表")
    private List<String> imgList;
    /**
     * 是否允许评论
     */
    @Schema(title = "是否允许评论",description = "是否允许评论")
    private Integer allowComment;
    /**
     * 来源
     * SourceEnum
     */
    @Schema(title = "来源",description = "来源")
    private Integer source;
}
